package com.aaa.docter.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collection;
import java.util.Map;

/**
 * @program: aaa-his-parent
 * @description:
 * @author: 闫克起2
 * @create: 2023-12-09 11:15
 **/
@Data
@NoArgsConstructor
public class SchedulingDto {
    private Long userId;
    private Long deptId;
    private String subsectionType;//1. 上午值班  2. 下午值班   3. 晚上值班
    private Collection<String> schedulingType;//存放周一到周日的subsectionType时间段 是门诊还是急诊的数据
    //存放星期值班的记录 key 指日期    周一到周日的日期字符串   value 有值就1  2   没有值就""
    //map.put("2023-12-09","1")  map.put("2023-12-09","")
    @JsonIgnore
    private Map<String,String> record;

    public SchedulingDto(Long userId, Long deptId, String subsectionType, Map<String, String> record) {
        this.userId = userId;
        this.deptId = deptId;
        this.subsectionType = subsectionType;
        this.record = record;
    }
}
